<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="d" uri="http://dgg.net/jsp/jstl/core" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="finan-panel">
    <input type="hidden" name="id" id="id" value="${productOrderId}">
    <div class="finan-tit">
        <b>附件信息</b>
    </div>
    <div class="upload-compact" style="margin-top: 2px;">
        <ul>
                <!-- removeFile 是否可以删除 0-否 1-是；downloadFile 是否可以下载  0-否 1-是；magnifyFile是否可以放大查看图片 0-否，1-是；loadFile初始化时是否加载已上传的文件 0-否，1-是-->
            <div>
                <input class="dggui-upload-file annexf-class icon-shanchu-old" type="file" id="annexUpload_2" data-fileid="${order.id}" data-fileType="sc_product_order-orderFile" data-customerid="${order.customerId}" name="file" multiple=""
                    <c:if test="${user.id eq order.flowUserId}"> removeFile="1" </c:if>
                   data-multiple="true" downloadFile="1" magnifyFile="1" loadFile="1">
            </div>
            <div class="colleting-file" <c:if test="${user.id eq order.flowUserId}"> isdel="1" </c:if> id = "upload-params-order" data-fileid="${order.id}" data-flag="sc_product_order-orderFile" data-customerid="${order.customerId}">

                    <div id="upload-order" class="client-upload" ></div>

            </div>
        </ul>
    </div>
</div>
<script src="${rootUrl}/static/js/rzsc/common/files/annex2.js?v=${version}" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
    $(function () {
        upload3("upload-order","upload-params-order");
        initUploadFile("annexUpload_2");
        //调用示例
        layer.photos({
            photos: '#previewImg'
            , anim: 1
        });
    });

</script>